package com.kws.system.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.kws.system.domain.TbAccountManagement;
import com.kws.system.domain.TbMerchant;
import com.kws.system.domain.info.QueryAccountManagementInfo;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface AccountManagementMapper extends BaseMapper<TbMerchant> {
    Page<QueryAccountManagementInfo> queryAccountPage(@Param("page") Page<QueryAccountManagementInfo> page, @Param("accountType") String accountType, @Param("accountName") String accountName);

    QueryAccountManagementInfo queryAccountById(@Param("id") Long id);
}
